Integrand size = 29, antiderivative size = 635 \[ \int \frac {(3+b \sin (e+f x))^{3/2}}{\sqrt {c+d \sin (e+f x)}} \, dx=-\frac {b \cos (e+f x) \sqrt {3+b \sin (e+f x)}}{f \sqrt {c+d \sin (e+f x)}}-\frac {(3-b) b \sqrt {3+b} \sqrt {c+d} E\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {3+b \sin (e+f x)}}{\sqrt {3+b} \sqrt {c+d \sin (e+f x)}}\right )|\frac {(3+b) (c-d)}{(3-b) (c+d)}\right ) \sec (e+f x) \sqrt {\frac {(b c-3 d) (1-\sin (e+f x))}{(3+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-3 d) (1+\sin (e+f x))}{(3-b) (c+d \sin (e+f x))}} (c+d \sin (e+f x))}{(b c-3 d) d f}+\frac {\sqrt {3+b} (b (c-d)-6 d) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {3+b \sin (e+f x)}}{\sqrt {3+b} \sqrt {c+d \sin (e+f x)}}\right ),\frac {(3+b) (c-d)}{(3-b) (c+d)}\right ) \sec (e+f x) \sqrt {\frac {(b c-3 d) (1-\sin (e+f x))}{(3+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-3 d) (1+\sin (e+f x))}{(3-b) (c+d \sin (e+f x))}} (c+d \sin (e+f x))}{d^2 \sqrt {c+d} f}-\frac {\sqrt {3+b} (b c-9 d) \operatorname {EllipticPi}\left (\frac {(3+b) d}{b (c+d)},\arcsin \left (\frac {\sqrt {c+d} \sqrt {3+b \sin (e+f x)}}{\sqrt {3+b} \sqrt {c+d \sin (e+f x)}}\right ),\frac {(3+b) (c-d)}{(3-b) (c+d)}\right ) \sec (e+f x) \sqrt {\frac {(b c-3 d) (1-\sin (e+f x))}{(3+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-3 d) (1+\sin (e+f x))}{(3-b) (c+d \sin (e+f x))}} (c+d \sin (e+f x))}{d^2 \sqrt {c+d} f} \]
(b*(c-d)-2*a*d)*EllipticF((c+d)^(1/2)*(a+b*sin(f*x+e))^(1/2)/(a+b)^(1/2)/( c+d*sin(f*x+e))^(1/2),((a+b)*(c-d)/(a-b)/(c+d))^(1/2))*sec(f*x+e)*(c+d*sin (f*x+e))*(a+b)^(1/2)*((-a*d+b*c)*(1-sin(f*x+e))/(a+b)/(c+d*sin(f*x+e)))^(1 /2)*(-(-a*d+b*c)*(1+sin(f*x+e))/(a-b)/(c+d*sin(f*x+e)))^(1/2)/d^2/f/(c+d)^ (1/2)-(-3*a*d+b*c)*EllipticPi((c+d)^(1/2)*(a+b*sin(f*x+e))^(1/2)/(a+b)^(1/ 2)/(c+d*sin(f*x+e))^(1/2),(a+b)*d/b/(c+d),((a+b)*(c-d)/(a-b)/(c+d))^(1/2)) *sec(f*x+e)*(c+d*sin(f*x+e))*(a+b)^(1/2)*((-a*d+b*c)*(1-sin(f*x+e))/(a+b)/ (c+d*sin(f*x+e)))^(1/2)*(-(-a*d+b*c)*(1+sin(f*x+e))/(a-b)/(c+d*sin(f*x+e)) )^(1/2)/d^2/f/(c+d)^(1/2)-(a-b)*b*EllipticE((c+d)^(1/2)*(a+b*sin(f*x+e))^( 1/2)/(a+b)^(1/2)/(c+d*sin(f*x+e))^(1/2),((a+b)*(c-d)/(a-b)/(c+d))^(1/2))*s ec(f*x+e)*(c+d*sin(f*x+e))*(a+b)^(1/2)*(c+d)^(1/2)*((-a*d+b*c)*(1-sin(f*x+ e))/(a+b)/(c+d*sin(f*x+e)))^(1/2)*(-(-a*d+b*c)*(1+sin(f*x+e))/(a-b)/(c+d*s in(f*x+e)))^(1/2)/d/(-a*d+b*c)/f-b*cos(f*x+e)*(a+b*sin(f*x+e))^(1/2)/f/(c+ d*sin(f*x+e))^(1/2)
Result contains complex when optimal does not.
Time = 39.13 (sec) , antiderivative size = 191301, normalized size of antiderivative = 301.26 \[ \int \frac {(3+b \sin (e+f x))^{3/2}}{\sqrt {c+d \sin (e+f x)}} \, dx=\text {Result too large to show} \]
Time = 2.33 (sec) , antiderivative size = 656, normalized size of antiderivative = 1.03, number of steps used = 11, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.379, Rules used = {3042, 3300, 27, 3042, 3532, 3042, 3290, 3477, 3042, 3297, 3475}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {(a+b \sin (e+f x))^{3/2}}{\sqrt {c+d \sin (e+f x)}} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {(a+b \sin (e+f x))^{3/2}}{\sqrt {c+d \sin (e+f x)}}dx\) |
\(\Big \downarrow \) 3300 |
\(\displaystyle \frac {\int \frac {-b d (b c-3 a d) \sin ^2(e+f x)+2 a d (b c+a d) \sin (e+f x)+d \left (2 c a^2-b d a+b^2 c\right )}{2 \sqrt {a+b \sin (e+f x)} (c+d \sin (e+f x))^{3/2}}dx}{d}-\frac {b \cos (e+f x) \sqrt {a+b \sin (e+f x)}}{f \sqrt {c+d \sin (e+f x)}}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\int \frac {-b d (b c-3 a d) \sin ^2(e+f x)+2 a d (b c+a d) \sin (e+f x)+d \left (2 c a^2-b d a+b^2 c\right )}{\sqrt {a+b \sin (e+f x)} (c+d \sin (e+f x))^{3/2}}dx}{2 d}-\frac {b \cos (e+f x) \sqrt {a+b \sin (e+f x)}}{f \sqrt {c+d \sin (e+f x)}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int \frac {-b d (b c-3 a d) \sin (e+f x)^2+2 a d (b c+a d) \sin (e+f x)+d \left (2 c a^2-b d a+b^2 c\right )}{\sqrt {a+b \sin (e+f x)} (c+d \sin (e+f x))^{3/2}}dx}{2 d}-\frac {b \cos (e+f x) \sqrt {a+b \sin (e+f x)}}{f \sqrt {c+d \sin (e+f x)}}\) |
\(\Big \downarrow \) 3532 |
\(\displaystyle \frac {\frac {\int \frac {2 d^2 \sin (e+f x) (b c-a d)^2+d \left (b c^2-2 a d c+b d^2\right ) (b c-a d)}{\sqrt {a+b \sin (e+f x)} (c+d \sin (e+f x))^{3/2}}dx}{d^2}-\frac {b (b c-3 a d) \int \frac {\sqrt {c+d \sin (e+f x)}}{\sqrt {a+b \sin (e+f x)}}dx}{d}}{2 d}-\frac {b \cos (e+f x) \sqrt {a+b \sin (e+f x)}}{f \sqrt {c+d \sin (e+f x)}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {\int \frac {2 d^2 \sin (e+f x) (b c-a d)^2+d \left (b c^2-2 a d c+b d^2\right ) (b c-a d)}{\sqrt {a+b \sin (e+f x)} (c+d \sin (e+f x))^{3/2}}dx}{d^2}-\frac {b (b c-3 a d) \int \frac {\sqrt {c+d \sin (e+f x)}}{\sqrt {a+b \sin (e+f x)}}dx}{d}}{2 d}-\frac {b \cos (e+f x) \sqrt {a+b \sin (e+f x)}}{f \sqrt {c+d \sin (e+f x)}}\) |
\(\Big \downarrow \) 3290 |
\(\displaystyle \frac {\frac {\int \frac {2 d^2 \sin (e+f x) (b c-a d)^2+d \left (b c^2-2 a d c+b d^2\right ) (b c-a d)}{\sqrt {a+b \sin (e+f x)} (c+d \sin (e+f x))^{3/2}}dx}{d^2}-\frac {2 \sqrt {a+b} (b c-3 a d) \sec (e+f x) (c+d \sin (e+f x)) \sqrt {\frac {(b c-a d) (1-\sin (e+f x))}{(a+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-a d) (\sin (e+f x)+1)}{(a-b) (c+d \sin (e+f x))}} \operatorname {EllipticPi}\left (\frac {(a+b) d}{b (c+d)},\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}\right ),\frac {(a+b) (c-d)}{(a-b) (c+d)}\right )}{d f \sqrt {c+d}}}{2 d}-\frac {b \cos (e+f x) \sqrt {a+b \sin (e+f x)}}{f \sqrt {c+d \sin (e+f x)}}\) |
\(\Big \downarrow \) 3477 |
\(\displaystyle \frac {\frac {b d^2 (c+d) (b c-a d) \int \frac {\sin (e+f x)+1}{\sqrt {a+b \sin (e+f x)} (c+d \sin (e+f x))^{3/2}}dx+d (b (c-d)-2 a d) (b c-a d) \int \frac {1}{\sqrt {a+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}dx}{d^2}-\frac {2 \sqrt {a+b} (b c-3 a d) \sec (e+f x) (c+d \sin (e+f x)) \sqrt {\frac {(b c-a d) (1-\sin (e+f x))}{(a+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-a d) (\sin (e+f x)+1)}{(a-b) (c+d \sin (e+f x))}} \operatorname {EllipticPi}\left (\frac {(a+b) d}{b (c+d)},\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}\right ),\frac {(a+b) (c-d)}{(a-b) (c+d)}\right )}{d f \sqrt {c+d}}}{2 d}-\frac {b \cos (e+f x) \sqrt {a+b \sin (e+f x)}}{f \sqrt {c+d \sin (e+f x)}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {b d^2 (c+d) (b c-a d) \int \frac {\sin (e+f x)+1}{\sqrt {a+b \sin (e+f x)} (c+d \sin (e+f x))^{3/2}}dx+d (b (c-d)-2 a d) (b c-a d) \int \frac {1}{\sqrt {a+b \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}dx}{d^2}-\frac {2 \sqrt {a+b} (b c-3 a d) \sec (e+f x) (c+d \sin (e+f x)) \sqrt {\frac {(b c-a d) (1-\sin (e+f x))}{(a+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-a d) (\sin (e+f x)+1)}{(a-b) (c+d \sin (e+f x))}} \operatorname {EllipticPi}\left (\frac {(a+b) d}{b (c+d)},\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}\right ),\frac {(a+b) (c-d)}{(a-b) (c+d)}\right )}{d f \sqrt {c+d}}}{2 d}-\frac {b \cos (e+f x) \sqrt {a+b \sin (e+f x)}}{f \sqrt {c+d \sin (e+f x)}}\) |
\(\Big \downarrow \) 3297 |
\(\displaystyle \frac {\frac {b d^2 (c+d) (b c-a d) \int \frac {\sin (e+f x)+1}{\sqrt {a+b \sin (e+f x)} (c+d \sin (e+f x))^{3/2}}dx+\frac {2 d \sqrt {a+b} (b (c-d)-2 a d) \sec (e+f x) (c+d \sin (e+f x)) \sqrt {\frac {(b c-a d) (1-\sin (e+f x))}{(a+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-a d) (\sin (e+f x)+1)}{(a-b) (c+d \sin (e+f x))}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}\right ),\frac {(a+b) (c-d)}{(a-b) (c+d)}\right )}{f \sqrt {c+d}}}{d^2}-\frac {2 \sqrt {a+b} (b c-3 a d) \sec (e+f x) (c+d \sin (e+f x)) \sqrt {\frac {(b c-a d) (1-\sin (e+f x))}{(a+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-a d) (\sin (e+f x)+1)}{(a-b) (c+d \sin (e+f x))}} \operatorname {EllipticPi}\left (\frac {(a+b) d}{b (c+d)},\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}\right ),\frac {(a+b) (c-d)}{(a-b) (c+d)}\right )}{d f \sqrt {c+d}}}{2 d}-\frac {b \cos (e+f x) \sqrt {a+b \sin (e+f x)}}{f \sqrt {c+d \sin (e+f x)}}\) |
\(\Big \downarrow \) 3475 |
\(\displaystyle \frac {\frac {\frac {2 d \sqrt {a+b} (b (c-d)-2 a d) \sec (e+f x) (c+d \sin (e+f x)) \sqrt {\frac {(b c-a d) (1-\sin (e+f x))}{(a+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-a d) (\sin (e+f x)+1)}{(a-b) (c+d \sin (e+f x))}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}\right ),\frac {(a+b) (c-d)}{(a-b) (c+d)}\right )}{f \sqrt {c+d}}-\frac {2 b d^2 (a-b) \sqrt {a+b} \sqrt {c+d} \sec (e+f x) (c+d \sin (e+f x)) \sqrt {\frac {(b c-a d) (1-\sin (e+f x))}{(a+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-a d) (\sin (e+f x)+1)}{(a-b) (c+d \sin (e+f x))}} E\left (\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}\right )|\frac {(a+b) (c-d)}{(a-b) (c+d)}\right )}{f (b c-a d)}}{d^2}-\frac {2 \sqrt {a+b} (b c-3 a d) \sec (e+f x) (c+d \sin (e+f x)) \sqrt {\frac {(b c-a d) (1-\sin (e+f x))}{(a+b) (c+d \sin (e+f x))}} \sqrt {-\frac {(b c-a d) (\sin (e+f x)+1)}{(a-b) (c+d \sin (e+f x))}} \operatorname {EllipticPi}\left (\frac {(a+b) d}{b (c+d)},\arcsin \left (\frac {\sqrt {c+d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {c+d \sin (e+f x)}}\right ),\frac {(a+b) (c-d)}{(a-b) (c+d)}\right )}{d f \sqrt {c+d}}}{2 d}-\frac {b \cos (e+f x) \sqrt {a+b \sin (e+f x)}}{f \sqrt {c+d \sin (e+f x)}}\) |
-((b*Cos[e + f*x]*Sqrt[a + b*Sin[e + f*x]])/(f*Sqrt[c + d*Sin[e + f*x]])) + ((-2*Sqrt[a + b]*(b*c - 3*a*d)*EllipticPi[((a + b)*d)/(b*(c + d)), ArcSi n[(Sqrt[c + d]*Sqrt[a + b*Sin[e + f*x]])/(Sqrt[a + b]*Sqrt[c + d*Sin[e + f *x]])], ((a + b)*(c - d))/((a - b)*(c + d))]*Sec[e + f*x]*Sqrt[((b*c - a*d )*(1 - Sin[e + f*x]))/((a + b)*(c + d*Sin[e + f*x]))]*Sqrt[-(((b*c - a*d)* (1 + Sin[e + f*x]))/((a - b)*(c + d*Sin[e + f*x])))]*(c + d*Sin[e + f*x])) /(d*Sqrt[c + d]*f) + ((-2*(a - b)*b*Sqrt[a + b]*d^2*Sqrt[c + d]*EllipticE[ ArcSin[(Sqrt[c + d]*Sqrt[a + b*Sin[e + f*x]])/(Sqrt[a + b]*Sqrt[c + d*Sin[ e + f*x]])], ((a + b)*(c - d))/((a - b)*(c + d))]*Sec[e + f*x]*Sqrt[((b*c - a*d)*(1 - Sin[e + f*x]))/((a + b)*(c + d*Sin[e + f*x]))]*Sqrt[-(((b*c - a*d)*(1 + Sin[e + f*x]))/((a - b)*(c + d*Sin[e + f*x])))]*(c + d*Sin[e + f *x]))/((b*c - a*d)*f) + (2*Sqrt[a + b]*d*(b*(c - d) - 2*a*d)*EllipticF[Arc Sin[(Sqrt[c + d]*Sqrt[a + b*Sin[e + f*x]])/(Sqrt[a + b]*Sqrt[c + d*Sin[e + f*x]])], ((a + b)*(c - d))/((a - b)*(c + d))]*Sec[e + f*x]*Sqrt[((b*c - a *d)*(1 - Sin[e + f*x]))/((a + b)*(c + d*Sin[e + f*x]))]*Sqrt[-(((b*c - a*d )*(1 + Sin[e + f*x]))/((a - b)*(c + d*Sin[e + f*x])))]*(c + d*Sin[e + f*x] ))/(Sqrt[c + d]*f))/d^2)/(2*d)
3.8.74.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]/Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]], x_Symbol] :> Simp[2*((a + b*Sin[e + f*x])/(d*f*Rt[(a + b)/ (c + d), 2]*Cos[e + f*x]))*Sqrt[(b*c - a*d)*((1 + Sin[e + f*x])/((c - d)*(a + b*Sin[e + f*x])))]*Sqrt[(-(b*c - a*d))*((1 - Sin[e + f*x])/((c + d)*(a + b*Sin[e + f*x])))]*EllipticPi[b*((c + d)/(d*(a + b))), ArcSin[Rt[(a + b)/( c + d), 2]*(Sqrt[c + d*Sin[e + f*x]]/Sqrt[a + b*Sin[e + f*x]])], (a - b)*(( c + d)/((a + b)*(c - d)))], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && PosQ[(a + b)/(c + d)]
Int[1/(Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*Sqrt[(c_) + (d_.)*sin[(e_ .) + (f_.)*(x_)]]), x_Symbol] :> Simp[2*((c + d*Sin[e + f*x])/(f*(b*c - a*d )*Rt[(c + d)/(a + b), 2]*Cos[e + f*x]))*Sqrt[(b*c - a*d)*((1 - Sin[e + f*x] )/((a + b)*(c + d*Sin[e + f*x])))]*Sqrt[(-(b*c - a*d))*((1 + Sin[e + f*x])/ ((a - b)*(c + d*Sin[e + f*x])))]*EllipticF[ArcSin[Rt[(c + d)/(a + b), 2]*(S qrt[a + b*Sin[e + f*x]]/Sqrt[c + d*Sin[e + f*x]])], (a + b)*((c - d)/((a - b)*(c + d)))], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && N eQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && PosQ[(c + d)/(a + b)]
Int[((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[(-b)*Cos[e + f*x]*(a + b*Sin[e + f*x] )^(m - 1)*((c + d*Sin[e + f*x])^n/(f*(m + n))), x] + Simp[1/(d*(m + n)) I nt[(a + b*Sin[e + f*x])^(m - 2)*(c + d*Sin[e + f*x])^(n - 1)*Simp[a^2*c*d*( m + n) + b*d*(b*c*(m - 1) + a*d*n) + (a*d*(2*b*c + a*d)*(m + n) - b*d*(a*c - b*d*(m + n - 1)))*Sin[e + f*x] + b*d*(b*c*n + a*d*(2*m + n - 1))*Sin[e + f*x]^2, x], x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && LtQ[0, m, 2] && LtQ[-1, n, 2] && NeQ[m + n, 0] && (IntegerQ[m] || IntegersQ[2*m, 2*n])
Int[((A_) + (B_.)*sin[(e_.) + (f_.)*(x_)])/(((a_) + (b_.)*sin[(e_.) + (f_.) *(x_)])^(3/2)*Sqrt[(c_) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Sim p[-2*A*(c - d)*((a + b*Sin[e + f*x])/(f*(b*c - a*d)^2*Rt[(a + b)/(c + d), 2 ]*Cos[e + f*x]))*Sqrt[(b*c - a*d)*((1 + Sin[e + f*x])/((c - d)*(a + b*Sin[e + f*x])))]*Sqrt[(-(b*c - a*d))*((1 - Sin[e + f*x])/((c + d)*(a + b*Sin[e + f*x])))]*EllipticE[ArcSin[Rt[(a + b)/(c + d), 2]*(Sqrt[c + d*Sin[e + f*x]] /Sqrt[a + b*Sin[e + f*x]])], (a - b)*((c + d)/((a + b)*(c - d)))], x] /; Fr eeQ[{a, b, c, d, e, f, A, B}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && EqQ[A, B] && PosQ[(a + b)/(c + d)]
Int[((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])/(((a_.) + (b_.)*sin[(e_.) + (f_ .)*(x_)])^(3/2)*Sqrt[(c_) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> S imp[(A - B)/(a - b) Int[1/(Sqrt[a + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f* x]]), x], x] - Simp[(A*b - a*B)/(a - b) Int[(1 + Sin[e + f*x])/((a + b*Si n[e + f*x])^(3/2)*Sqrt[c + d*Sin[e + f*x]]), x], x] /; FreeQ[{a, b, c, d, e , f, A, B}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && NeQ[A, B]
Int[((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)] + (C_.)*sin[(e_.) + (f_.)*(x_)]^ 2)/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(3/2)*Sqrt[(c_.) + (d_.)*sin[(e _.) + (f_.)*(x_)]]), x_Symbol] :> Simp[C/b^2 Int[Sqrt[a + b*Sin[e + f*x]] /Sqrt[c + d*Sin[e + f*x]], x], x] + Simp[1/b^2 Int[(A*b^2 - a^2*C + b*(b* B - 2*a*C)*Sin[e + f*x])/((a + b*Sin[e + f*x])^(3/2)*Sqrt[c + d*Sin[e + f*x ]]), x], x] /; FreeQ[{a, b, c, d, e, f, A, B, C}, x] && NeQ[b*c - a*d, 0] & & NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
Result contains complex when optimal does not.
Time = 16.31 (sec) , antiderivative size = 468798, normalized size of antiderivative = 738.26
Timed out. \[ \int \frac {(3+b \sin (e+f x))^{3/2}}{\sqrt {c+d \sin (e+f x)}} \, dx=\text {Timed out} \]
\[ \int \frac {(3+b \sin (e+f x))^{3/2}}{\sqrt {c+d \sin (e+f x)}} \, dx=\int \frac {\left (a + b \sin {\left (e + f x \right )}\right )^{\frac {3}{2}}}{\sqrt {c + d \sin {\left (e + f x \right )}}}\, dx \]
\[ \int \frac {(3+b \sin (e+f x))^{3/2}}{\sqrt {c+d \sin (e+f x)}} \, dx=\int { \frac {{\left (b \sin \left (f x + e\right ) + a\right )}^{\frac {3}{2}}}{\sqrt {d \sin \left (f x + e\right ) + c}} \,d x } \]
\[ \int \frac {(3+b \sin (e+f x))^{3/2}}{\sqrt {c+d \sin (e+f x)}} \, dx=\int { \frac {{\left (b \sin \left (f x + e\right ) + a\right )}^{\frac {3}{2}}}{\sqrt {d \sin \left (f x + e\right ) + c}} \,d x } \]
Timed out. \[ \int \frac {(3+b \sin (e+f x))^{3/2}}{\sqrt {c+d \sin (e+f x)}} \, dx=\int \frac {{\left (a+b\,\sin \left (e+f\,x\right )\right )}^{3/2}}{\sqrt {c+d\,\sin \left (e+f\,x\right )}} \,d x \]